#构建斐波那契数列
def item(num):
    if num == 0:
        res = 0
    elif num == 1:
        res = 1
    else:
        res = item(num-1) +item(num-2)
    return res
i=0
while i < 11:
    print(item(i))
    i+=1
for i in range(6,11):
    print(item(i))
    i+=1

